home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
program
/
qbprog.EXE
/
STARFLAG.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-07-01
|
8KB
|
128 lines
' ***************************** STARFLAG.BAS ******************************
'
' July 1, 1991
' John Richard De Palma, Happy 4th!
CLS : COLOR 7, 0: PRINT " ";
PRINT " "; : COLOR 1, 7: PRINT "█"; : COLOR 15, 1: PRINT "";
COLOR 1, 7: PRINT "███"; : COLOR 15, 1: PRINT " ";
COLOR 1, 7: PRINT "█"; : COLOR 15, 1: PRINT "";
COLOR 1, 7: PRINT "█████"; : COLOR 15, 1: PRINT "";
COLOR 1, 7: PRINT "█████"; : COLOR 15, 1: PRINT "";
COLOR 1, 7: PRINT "█████"; : COLOR 15, 1: PRINT "";
COLOR 1, 7: PRINT "█████"; : COLOR 15, 1: PRINT "";
COLOR 1, 7: PRINT "████"; : COLOR 4, 7: PRINT "██████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 1, 7: PRINT "███";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█";
COLOR 15, 4: PRINT "▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "████";
COLOR 15, 7: PRINT "██████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 1, 7: PRINT "████";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█";
COLOR 4, 7: PRINT "██████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "████";
COLOR 15, 4: PRINT "▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 1, 7: PRINT "███";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█";
COLOR 15, 7: PRINT "██████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "████";
COLOR 4, 7: PRINT "██████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 1, 7: PRINT "███";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█";
COLOR 15, 4: PRINT "▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "█";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "████";
COLOR 15, 7: PRINT "██████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 1, 7: PRINT "████";
COLOR 15, 1: PRINT " "; : COLOR 1, 7: PRINT "████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█████";
COLOR 15, 1: PRINT ""; : COLOR 1, 7: PRINT "█";
COLOR 4, 7: PRINT "██████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 15, 1: PRINT "▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄";
COLOR 15, 4: PRINT "▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 15, 7: PRINT "██████████████████████████████████████████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 4, 7: PRINT "██████████████████████████████████████████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 15, 4: PRINT "▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 15, 7: PRINT "██████████████████████████████████████████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 4, 7: PRINT "██████████████████████████████████████████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 15, 4: PRINT "▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 15, 7: PRINT "██████████████████████████████████████████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 4, 7: PRINT "██████████████████████████████████████████████████████████████████████████████";
COLOR 7, 0: PRINT " "; : PRINT " "; : COLOR 4, 0: PRINT "▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ";
COLOR 7, 0: PRINT " ";
PRINT " ";
PRINT " ";
COLOR 7, 0
' ********************** THE STAR-SPANGLED BANNER ************************
' Adapted from a BASICA program.
A$ = "O3L8E-.L16CL4O2A-O3CE-A-..O4L8C.O3L16B-L4A-CDL2E-L8E-E-O4L4C.O3L8B-L4A-L2GL8FG"
B$ = "L4A-A-E-CO2A-O3L8E-.L16CL4O2A-O3CE-L2A-O4L8C.L16O3B-L4A-CDL2E-L8E-E-"
C$ = "L4O4C.O3L8B-L4A-L2GL8FGL4A-A-E-CO2A-O4L8CCL4CD-E-L2E-L8D-C"
D$ = "O3L4B-O4CD-L2D-L8D-D-L4C.O3L8B-L4A-GGL8FGL4A-CDL2E-"
E$ = "L8E-E-L4A-A-L8A-G" ' CHORUS
F$ = "L4FFFB-O4L8D-CO3B-A-L4A-G..L8E-E-L4A-.L8B-O4CD-L2E-O3L8A-B-O4L4C.L8D-L4O3B-L2A-L2A-"
PLAY "T140" 'Tempo default is T120, this was T104
PLAY "X" + VARPTR$(A$)
PLAY "X" + VARPTR$(B$)
PLAY "X" + VARPTR$(C$)
PLAY "X" + VARPTR$(D$)
PLAY "X" + VARPTR$(E$)
PLAY "X" + VARPTR$(F$)